<?php

namespace sample\controller;

use pmvc\mvc\Model;

/**
 * 
 * @\pmvc\ioc\annotation\Object()
 * @\pmvc\mvc\annotation\Controller()
 */
class WhatController {

	/**
	 * @\pmvc\mvc\annotation\RequestMapping(url="/questions/what")
	 */
	public function handleRequest(Model $model) {
		$model->set("question", "What are you?");
		return "questions/question.tmpl";
	}
}

?>
